﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Configurations/Configurations.master"
	AutoEventWireup="true" CodeBehind="ManageRoles.aspx.cs" Inherits="_00365.Configurations.ManageRoles" %>

<asp:Content ContentPlaceHolderID="cphInnerTitle" runat="server">
	Gerenciar Grupos
</asp:Content>
<asp:Content ContentPlaceHolderID="cphInner" runat="server">
	<asp:GridView ID="grdRoles" OnRowCommand="grdRoles_RowCommand" runat="server" AutoGenerateColumns="false"
		CssClass="table">
		<Columns>
			<asp:BoundField DataField="Name" HeaderText="Nome do Grupo" />
			<asp:TemplateField HeaderText="Ações">
				<ItemTemplate>
					<asp:LinkButton ID="lnbEdit" runat="server" CommandName="EditRow" CommandArgument='<%# DataBinder.Eval (Container.DataItem, "Id") %>'>
						<img src="../images/ico16/Edit16.png" />
					</asp:LinkButton>
					<asp:LinkButton CssClass="delete-confirm" ID="lnbDelete" runat="server" CommandName="DeleteRow" CommandArgument='<%# DataBinder.Eval (Container.DataItem, "Id") %>'>
						<img src="../images/ico16/Delete16.png" />
					</asp:LinkButton>
				</ItemTemplate>
				<ItemStyle Width="45px" />
			</asp:TemplateField>
		</Columns>
		<HeaderStyle CssClass="table-head" />
		<RowStyle CssClass="table-row" />
		<AlternatingRowStyle CssClass="table-alternating-row" />
	</asp:GridView>
</asp:Content>
